package osp.Threads;

import osp.IFLModules.*;
import osp.Utilities.*;
import osp.Hardware.*;

/**    
       The timer interrupt handler.  This class is called upon to
       handle timer interrupts.
       
       Author: Andrew Shore
       Email: Shore@email.sc.edu
       Date Last Modified: 2-23-11

       @OSPProject Threads
*/
public class TimerInterruptHandler extends IflTimerInterruptHandler
{
	
    /**
       This basically only needs to reset the times and dispatch
       another process.

       @OSPProject Threads
    */
    public void do_handleInterrupt()
    {
    	//resets timer
    	HTimer.set(50);
    	//dispatches another proccess
    	ThreadCB.dispatch();

    }


}

